package cn.zhaoyuening.fanrpc.common.beans;

public class RpcRequest {
    private String reqId;
    private String serviceName;
    private String version;
    private String method;
    private Class<?>[] paramTypes;
    private Object[] param;

    public String getServiceName() {
        return serviceName;
    }

    public RpcRequest setServiceName(String serviceName) {
        this.serviceName = serviceName;
        return this;
    }

    public String getVersion() {
        return version;
    }

    public RpcRequest setVersion(String version) {
        this.version = version;
        return this;
    }

    public String getMethod() {
        return method;
    }

    public RpcRequest setMethod(String method) {
        this.method = method;
        return this;
    }

    public Class[] getParamTypes() {
        return paramTypes;
    }



    public String getReqId() {
        return reqId;
    }

    public RpcRequest setReqId(String reqId) {
        this.reqId = reqId;
        return this;
    }

    public RpcRequest setParamTypes(Class<?>[] paramTypes) {
        this.paramTypes = paramTypes;
        return this;
    }

    public Object[] getParam() {
        return param;
    }

    public RpcRequest setParam(Object[] param) {
        this.param = param;
        return this;
    }
}
